package com.jake.rabbit.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import static com.jake.common.constant.QueueConstants.RESPONSE_QUEUE;

@Configuration
public class ResponseQueueConfig {

    @Bean
    public Queue responseQueue1() {
        return new Queue(RESPONSE_QUEUE + 1);
    }

    @Bean
    public Queue responseQueue2() {
        return new Queue(RESPONSE_QUEUE + 2);
    }

    @Bean
    public Queue responseQueue3() {
        return new Queue(RESPONSE_QUEUE + 3);
    }

    @Bean
    public Queue responseQueue4() {
        return new Queue(RESPONSE_QUEUE + 4);
    }

    @Bean
    public Queue responseQueue5() {
        return new Queue(RESPONSE_QUEUE + 5);
    }
    
}
